--
-- Created by IntelliJ IDEA.
-- User: train
-- Date: 2018/8/23
-- Time: 下午3:31
-- To change this template use File | Settings | File Templates.
--

package.path = './script/lib/?.lua;'
local json = require('json')
local mysql = require("mysql")

function run(param)
    local p=json.decode(param)
    local size=p.size
    local ret=mysql.page("select *","from test2",1,tonumber(size[1]),json.encode({}))
    return ret
end


